<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
<jsp:directive.page import="com.sql.ReportFormSql"/>
<jsp:directive.page import="com.database.DataBase"/>
<html>
  <head>
    <title>My JSP 'headbranchdeleteSubmit.jsp' starting page</title>
  </head>
  
  <body>
        <%
              int ID= Integer.parseInt(request.getParameter("ID"));
              ReportFormSql report=new ReportFormSql();
              DataBase base=new DataBase();
              String sql=report.delete("CQMS_Branch",ID);
              base.executeUpdate(sql);
              base.closeStmt();
              base.closeConn();
              response.sendRedirect("headbranch.jsp");
       %>
  </body>
</html>
